package net.mysoft.budgetsoft.system.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**   
 *  
 * @author dagongPGP v1.0 
 * @link <a href=http://www.dagongsoft.net>北京大公信软科技有限公司</a> 
 *  
 * @version $Revision: 1.00  $Date: 2013-07-08 17:26:13 
 */
@Entity
@Table(name="FlowNodeClass")
public class TFlowNodeClass implements java.io.Serializable {  
    private String fnc_ID;
    private String fnc_Name_cn;
    private String fnc_Name_en;
    private String fnc_Description;

	@Id 
    @Column(name="FNC_ID", unique=true, nullable=false)
    public String getFnc_ID(){
    	return this.fnc_ID;
    }
    
    public void setFnc_ID(String fNC_ID){
    	this.fnc_ID = fNC_ID;
    }
    
    @Column(name="FNC_Name_cn")
    public String getFnc_Name_cn(){
    	return this.fnc_Name_cn;
    }
    
    public void setFnc_Name_cn(String fNC_Name_cn){
    	this.fnc_Name_cn = fNC_Name_cn;
    }
    
    @Column(name="FNC_Name_en")
    public String getFnc_Name_en(){
    	return this.fnc_Name_en;
    }
    
    public void setFnc_Name_en(String fNC_Name_en){
    	this.fnc_Name_en = fNC_Name_en;
    }
    
    @Column(name="FNC_Description")
    public String getFnc_Description(){
    	return this.fnc_Description;
    }
    
    public void setFnc_Description(String fNC_Description){
    	this.fnc_Description = fNC_Description;
    }
    
	
    @Override
    public int hashCode() {
    	int prime = 0;
        prime +=this.getFnc_ID().hashCode();
        return prime;
    }

    @Override
    public boolean equals(Object obj) {
    	boolean isEquals = false;
    	if(obj!=null&&this.getClass()==obj.getClass()){
    		TFlowNodeClass clazz = (TFlowNodeClass)obj;
            if(clazz.getFnc_ID().equals(this.getFnc_ID()))
            	isEquals = true;
    		return isEquals;
    	}
        return isEquals;
    }

}